-define(KEY_FOR_LAST_RECORD, 1).
-define(DEBUG, true).
-define(SLEEP_MSES, 100).
-define(DEVICES_LIMIT, 50).
%%nodes
%-define(DB_NODE, 'samsung@admin-PK').
%-define(DB_NODE, 'samsung@192.168.1.66').
%-define(TEST_NODE, [asus0@asus]).
%-define(CONTROLLER_NODE, [asus0@asus]).
%-define(MAIN_NODE, 'asus0@192.168.1.64').


-define(INPUT, "deviceList.txt").
-define(BUFFER_SIZE, 5).
-record(testCase, {id = -1, bits = [], description = "default description"}).
-record(key_id_dts, {key = ?KEY_FOR_LAST_RECORD, value = 0}).
-record(stateRecord, {id = -1, testId = -1, deviceId = -1, answer = [], completed = false, bitsRun = 0, fails = 0}).
-record(testingState, {devicesCount = 0, devicesFinished = 0, reported = false, start, finish, message = "tests are run: ~w ms~n"}).